package com.yxhl.zoume.di.component.busticket;

import com.yxhl.zoume.core.busticket.ui.fragment.BusArrivalStationFragment;
import com.yxhl.zoume.core.busticket.ui.fragment.BusStartStationFragment;
import com.yxhl.zoume.di.component.base.ActivityComponent;
import com.yxhl.zoume.di.component.base.AppComponent;
import com.yxhl.zoume.di.module.ActivityModule;
import com.yxhl.zoume.di.module.busticket.BusStationModule;
import com.yxhl.zoume.di.scope.PerActivity;

import dagger.Component;

/**
 * Created by vhawk on 16/3/20.
 */
@PerActivity
@Component(
        dependencies = AppComponent.class,
        modules = {
                BusStationModule.class,
                ActivityModule.class
        }
)
public interface BusStationComponent extends ActivityComponent {

    /**
     * 出发城市
     *
     * @param busStartStationFragment
     */
    void inject(BusStartStationFragment busStartStationFragment);

    /**
     * 到达城市
     *
     * @param busTicketStationFragment
     */
    void inject(BusArrivalStationFragment busTicketStationFragment);
}
